﻿@model PresentationMVC.Models.StaffDataModel
@{
    ViewBag.Title = "Staff";
}
<script type="text/jscript">

    function reloadGrid() {

        $.ajax(
         { type: "GET",
             url: '/Invoice/ReloadGrid/',
             data: "{}",
             cache: false,
             dataType: "html",
             success: function (data)
             { $('#DivGrid').html(data); }
         })
    }
</script>
<div>
    <fieldset>
        <legend>Staff Information</legend>
        <div>
            @Html.Partial("StaffCreatePartial")
        </div>
        <div>
            @Html.Partial("StaffSearch")
        </div>
        <div id="DivGrid">
            @Html.Partial("StaffGridPartial")
        </div>
    </fieldset>
</div>
